using System;
using System.Data;

namespace Transfer_Object_Tier
{
	#region Comments
	/// <summary>
	/// KEYCODE Class.
	/// </summary>
	/// <remarks>
	/// <h3>Changes</h3>
	/// <list type="table">
	/// 	<listheader>
	/// 		<th>Author</th>
	/// 		<th>Date</th>
	/// 		<th>Details</th>
	/// 	</listheader>
	/// 	<item>
	/// 		<term>eSolution Viet Nam -- esolution.vn</term>
	/// 		<description>12/21/2012</description>
	/// 		<description>Created</description>
	/// 	</item>
	/// </list>
	/// </remarks>
	#endregion

	[Serializable]
	public class KEYCODE
	{
		#region Construction
		/// <summary>
		/// Initializes a new (no-args) instance of the KEYCODE class.
		/// </summary>
		public KEYCODE()
		{
		}

		/// <summary>
		/// Initializes a new instance of the KEYCODE class.
		/// </summary>
		public KEYCODE(Int32 Id_Key, String KeyCode, Int32 Id_Contact, DateTime DateCreate, String Property, Int32 NumActive, Int32 Activated, Boolean Blacklist, Int32 TypeActive, Int32 TypeSoft, DateTime DateLimit, Boolean Register)
		{
			this.Id_Key = Id_Key;
			this.KeyCode = KeyCode;
			this.Id_Contact = Id_Contact;
			this.DateCreate = DateCreate;
			this.Property = Property;
			this.NumActive = NumActive;
			this.Activated = Activated;
			this.Blacklist = Blacklist;
			this.TypeActive = TypeActive;
			this.TypeSoft = TypeSoft;
			this.DateLimit = DateLimit;
			this.Register = Register;
		}
		#endregion

		#region Properties
		/// <summary>
		/// Gets or sets the Id_Key value.
		/// </summary>
		public virtual Int32 Id_Key { get; set; }

		/// <summary>
		/// Gets or sets the KeyCode value.
		/// </summary>
		public virtual String KeyCode { get; set; }

		/// <summary>
		/// Gets or sets the Id_Contact value.
		/// </summary>
		public virtual Int32 Id_Contact { get; set; }

		/// <summary>
		/// Gets or sets the DateCreate value.
		/// </summary>
		public virtual DateTime DateCreate { get; set; }

		/// <summary>
		/// Gets or sets the Property value.
		/// </summary>
		public virtual String Property { get; set; }

		/// <summary>
		/// Gets or sets the NumActive value.
		/// </summary>
		public virtual Int32 NumActive { get; set; }

		/// <summary>
		/// Gets or sets the Activated value.
		/// </summary>
		public virtual Int32 Activated { get; set; }

		/// <summary>
		/// Gets or sets the Blacklist value.
		/// </summary>
		public virtual Boolean Blacklist { get; set; }

		/// <summary>
		/// Gets or sets the TypeActive value.
		/// </summary>
		public virtual Int32 TypeActive { get; set; }

		/// <summary>
		/// Gets or sets the TypeSoft value.
		/// </summary>
		public virtual Int32 TypeSoft { get; set; }

		/// <summary>
		/// Gets or sets the DateLimit value.
		/// </summary>
		public virtual DateTime DateLimit { get; set; }

		/// <summary>
		/// Gets or sets the Register value.
		/// </summary>
		public virtual Boolean Register { get; set; }
		#endregion
	}
}